import axios from '~/axios'

export function getPageList(data){
    return axios.post("/datasource/application/page",data)
}

export function approve(data){
    return axios.post("/datasource/application/approve",data)
}


export function getSignPageList(data){
    return axios.post("/dataSourceSign/page",data)
}

export function getSignDetail(id){
    return axios.get(`/dataSourceSign/getDetail?id=${id}`)
}

export function removeSign(data){
    return axios.post("/dataSourceSign/remove",data)
}

export function savaSign(data){
    return axios.post("/dataSourceSign/sava",data)
}

export function updateSign(data){
    return axios.post("/dataSourceSign/updateInfo",data)
}

export function updateSignStatus(id,status){
    return axios.get(`/dataSourceSign/updateStatus?id=${id}&status=${status}`)
}




